import request from './http'
const apiUrl = "/news/news-server/";
//https://el-admin.xin/api/users?page=0&size=10&sort=id%2Cdesc
//例子:
//自定义get接口
export function customGetApi(url, params) {
  return request({
    url: apiUrl + url,
    method: 'get',
    params
  })
}
export function userLIst(params) {
  return request({
    url: 'https://el-admin.xin/auth/online',
    method: 'get',
    params
  })
}